package com.cjt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName teacher
 */
@TableName(value ="teacher")
@Data
public class Teacher implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 
     */
    private String avatar;

    /**
     * 教职工号
     */
    private Long teaId;

    /**
     * 所教班级
     */
    private String teaclass;

    /**
     * 
     */
    private String code;

    /**
     * 
     */
    private Date created;

    /**
     * 
     */
    private Date updated;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}